/*@@

    Copyright (c) 2011 BlueSky LTD.  All rights reserved. 

    Created_datetime : 2011-1-11 15:06:38

    File Name :	base_os.h

    Author : Wang Hu (ghoststears@gmail.com)

    Description : 

@@*/


#ifndef __BASE_OS_H__
#define __BASE_OS_H__


#include "blk_def.h"


#include <vector>
#include <string>


namespace BLK
{
    std::size_t list_dir(const std::string& path, std::vector<std::string>& files);
    bool is_file(const std::string& path);
    bool is_dir(const std::string& path);
};

#ifdef _WIN32
#include "base_os_win.inl"
#else
#include "base_os_nix.inl"
#endif

#endif /* __BASE_OS_H__ */
